
<form name="frmAddNews" id="frmAddNews" method="post" action="" enctype="multipart/form-data">
        <table cellpadding="0" cellspacing="0" width="100%" class="table-form-post">
            <col width="20%">
            <col width="40%">
            <col width="40%">
            <tbody>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td colspan="2">
                        <p style="float:left;width:350px;text-align:center;">
                            <label for="auto" class="cpointer"><input type=radio id="auto" value="1" name="typer" onclick="return Mudim.SetMethod(4);" checked="checked"><span class=AVIMControl>Tự động</span></label>
                            <label for="telext" class="cpointer"><input type=radio id="telext" value="1" name="typer" onclick="return Mudim.SetMethod(2);"><span class=AVIMControl>TELEX</span></label>
                            <label for="vni" class="cpointer"><input type=radio id="vni" value="1" name="typer" onclick="return Mudim.SetMethod(1);"><span class=AVIMControl>VNI</span></label>
                            <label for="off" class="cpointer"><input type=radio id="off" value="1" name="typer" onclick="return Mudim.SetMethod(0);"><span class=AVIMControl>Tắt</span></label>
                        </p>
                    </td>
                </tr>
                <tr>
                    <td class="td-form-title">
                        Tiêu đề tin 
                    </td>
                    <td>
                        <div>
                            <input type="text" name="news_title" id="news_title" class="w250p" tooltipText="Nhập tiêu đề cho tin.">
                        </div>
                        <div id="news_title_error" class="validate_error" style="display: none;"></div>
                    </td>
                    <td rowspan="5">
                        <label>Hình ảnh</label>
                        <div id="fileQueueNews" style="width: 300px;height: 120px;background: #FFFFFF"></div>
                    </td>
                </tr>
                <tr>
                    <td class="td-form-title">
                        Hình đại diện
                    </td>
                    <td>
                        <div>
                            <input type="file" name="news_main_image[]" id="news_main_image" tooltipText="Chọn hình đại diện cho tin.">
                        </div>
                        <div id="news_main_image_error" class="validate_error" style="display: none;"></div>
                    </td>
                </tr>
                <tr>
                    <td class="td-form-title">
                        Danh mục cấp 1
                    </td>
                    <td>
                        <div>
                            <select name="news_new_category_id" id="news_new_category_id" class="w200p" onchange="AdminController.selectNewsSub();">
                                <option value="">Chọn danh mục cấp 1</option>
                            </select>
                        </div>
                        <div id="news_new_category_id_error" class="validate_error" style="display: none;"></div>
                        <input type="hidden" name="list_news_sub_hidden" id="list_news_sub_hidden">
                    </td>
                </tr>
                <tr>
                    <td class="td-form-title">
                        Danh mục cấp 2
                    </td>
                    <td>
                        <div>
                            <select name="news_new_sub_category_id" id="news_new_sub_category_id" class="w200p">
                                <option value="">Chọn danh mục cấp 2</option>
                            </select>
                        </div>
                        <div id="news_new_sub_category_id_error" class="validate_error" style="display: none;"></div>
                    </td>
                </tr>
                <tr>
                    <td class="td-form-title">
                        Loại tin
                    </td>
                    <td>
                        <label for="news_type1" class="cpointer"><input type="radio" name="news_type" id="news_type1" value="1">Top news</label>
                        <label for="news_type2" class="cpointer"><input type="radio" name="news_type" id="news_type2" value="2">10 Tin nổi bật</label>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        Nội dung chi tiết
                    </td>
                    <td>
                        <input type="file" name="uploadifyNews" id="uploadifyNews" />
                        <a href="javascript:$('#uploadifyNews').uploadifyUpload();"><img src="/public/images/form/upload.png" border="0" /></a>
                        <a href="javascript:jQuery('#uploadifyNews').uploadifyClearQueue()"><img src="/public/images/form/huybo.png" border="0"/></a>
                    </td>
                </tr>
                <tr>
                    <td colspan="3">
                        <textarea name="news_content" id="news_content" class="news_content"></textarea>
                        <div id="news_content_error" class="validate_error" style="display: none;"></div>
                    </td>
                </tr>
                <tr>
                    <td colspan="3" align="center">
                        <input type="hidden" name="news_id" id="news_id">
                        <input type="button" name="submitAddNews" id="submitAddNews" class="cpointer submit">
                        <input type="button" name="cancelEditorAddNews" id="cancelEditorAddNews" class="cpointer submit" value="Hủy bỏ" onclick="AdminController.hideEditorAddNews();" >
                    </td>
                </tr>
            </tbody>
        </table>
</form>
